package com.cdtu.service;

import com.cdtu.entity.OperationRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cdtu.vo.OperationRecordVO;

import java.util.List;

/**
* @author Sakura
* @description 针对表【op_record】的数据库操作Service
* @createDate 2023-01-08 12:38:04
*/
public interface OperationRecordService extends IService<OperationRecord> {
    int saveRecord(OperationRecord operationRecord);

    List<OperationRecordVO> findByPage(Integer pageNow, Integer rows);

    //查询总条数
    long findTotal();

    //查询总条数
    long findByDateTotal(String value);

    List<OperationRecordVO> findByDate(Integer pageNow, Integer pageSize, String value);
    //查询总条数
}
